<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/12/7
  Time: 16:58
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>书店小屋</title>
</head>
<body>
    <form action="${pageContext.request.contextPath}/file/upload" enctype="multipart/form-data" method="post">
        图片上传:<input type="file" name="upload">
        <input type="submit" value="上传">
    </form>

    fastDfs图片上传
    <form action="${pageContext.request.contextPath}/file/uploadPic" enctype="multipart/form-data" method="post">
        图片上传:<input type="file" name="pic">
        <input type="submit" value="上传">
    </form>
</body>
</html>
